{% extends 'base.html' %}
{% block title %}
    <title>用户登录</title>
{% endblock title %}
{% block crumb %}
    <a class="maincolor" href="#">用户功能</a>
    <span class="c-666 en">&gt;</span>
    <a class="maincolor" href="/login">用户登录</a>
{% endblock crumb %}
{% block content %}
    <article class="cl pd-20">
        <form class="form form-horizontal" id="form-login" method="POST">
            <!-- 如果有表单 -->
            {{ form.csrf_token }}
            <!-- 如果没有表单 -->
            {# <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> #}

            <legend class="">登录</legend>
            <div class="panel panel-default mt-20">
               {# <div class="f-l ml-10"> #}
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-3">用户账号:</label>
                        <div class="formControls col-xs-5 col-sm-7">
                            <input type="text" class="input-text" id="username" name="username" autocomplete="off" placeholder="用户帐号">
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-3">用户密码:</label>
                        <div class="formControls col-xs-5 col-sm-7">
                            <input type="password" class="input-text" id="password" name="password" autocomplete="off" placeholder="用户密码">
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-3"></label>
                        <div class="formControls col-xs-5 col-sm-7">
                            <input type="checkbox" id="remembe" name="remembe">
                            <label for="remembe">记住我</label>
                        </div>
                    </div>
                    <div class="row cl">
                        <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                            <input class="btn btn-primary radius" type="submit" value="登录">
                        </div>
                    </div>
                    <div class="text-c">默认用户名：malimali<br>
                    登录密码：mlj
                        </div>
               {# </div> #}
            </div>
    	</form>
    </article>
{% endblock content %}